package ${package.Mapper};

import ${package.Entity}.${entity};
import ${superMapperClassPackage};
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * ${table.comment!} Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
<#if kotlin>
interface ${table.mapperName} : ${superMapperClass}<${entity}>
<#else>
public interface ${table.mapperName} extends ${superMapperClass}<${entity}> {

    /**
     * 多主键查询，返回列表数据
     * @param idList 多主键
     * @return List
     */
    List<${entity}> queryByIds(@Param("idList") List<Long> idList);

    /**
     * 多条件查询，返回列表数据
     * @param qo 查询数据的对象
     * @return List
     */
    List<${entity}> queryList(@Param("qo") ${entity} qo);

}
</#if>
